
HL Paper 3
This question is about modelling the spread of a computer virus to predict the number of computers in a city which will be infected by the virus.
A systems analyst defines the following variables in a model:
- is the number of days since the first computer was infected by the virus.
- is the total number of computers that have been infected up to and including day .
The following data were collected:
A model for the early stage of the spread of the computer virus suggests that
where is the total number of computers in a city and is a measure of how easily the virus is spreading between computers. Both and are assumed to be constant.
The data above are taken from city X which is estimated to have million computers.
The analyst looks at data for another city, Y. These data indicate a value of .
An estimate for , can be found by using the formula:
.
The following table shows estimates of for city X at different values of .
An improved model for , which is valid for large values of , is the logistic differential equation
where and are constants.
Based on this differential equation, the graph of against is predicted to be a straight line.
Find the equation of the regression line of on .
Write down the value of , Pearson’s product-moment correlation coefficient.
Explain why it would not be appropriate to conduct a hypothesis test on the value of found in (a)(ii).
Find the general solution of the differential equation .
Using the data in the table write down the equation for an appropriate non-linear regression model.
Write down the value of for this model.
Hence comment on the suitability of the model from (b)(ii) in comparison with the linear model found in part (a).
By considering large values of write down one criticism of the model found in (b)(ii).
Use your answer from part (b)(ii) to estimate the time taken for the number of infected computers to double.
Find in which city, X or Y, the computer virus is spreading more easily. Justify your answer using your results from part (b).
Determine the value of and of . Give your answers correct to one decimal place.
Use linear regression to estimate the value of and of .
The solution to the differential equation is given by
where is a constant.
Using your answer to part (f)(i), estimate the percentage of computers in city X that are expected to have been infected by the virus over a long period of time.
Markscheme
A1A1
Note: Award at most A1A0 if answer is not an equation. Award A1A0 for an answer including either or .
[2 marks]
A1
[1 mark]
is not a random variable OR it is not a (bivariate) normal distribution
OR data is not a sample from a population
OR data appears nonlinear
OR only measures linear correlation R1
Note: Do not accept “ is not large enough”.
[1 mark]
attempt to separate variables (M1)
A1A1A1
Note: Award A1 for LHS, A1 for , and A1 for .
Award full marks for OR .
Award M1A1A1A0 for
[4 marks]
attempt at exponential regression (M1)
A1
OR
attempt at exponential regression (M1)
A1
Note: Condone answers involving or . Condone absence of “” Award M1A0 for an incorrect answer in correct format.
[2 marks]
A1
[1 mark]
comparing something to do with and something to do with M1
Note: Examples of where the M1 should be awarded:
The “correlation coefficient” in the exponential model is larger.
Model B has a larger
Examples of where the M1 should not be awarded:
The exponential model shows better correlation (since not clear how it is being measured)
Model 2 has a better fit
Model 2 is more correlated
an unambiguous comparison between and or and leading to the conclusion that the model in part (b) is more suitable / better A1
Note: Condone candidates claiming that is the “correlation coefficient” for the non-linear model.
[2 marks]
it suggests that there will be more infected computers than the entire population R1
Note: Accept any response that recognizes unlimited growth.
[1 mark]
OR OR OR using the model to find two specific times with values of which double M1
(days) A1
Note: Do not FT from a model which is not exponential. Award M0A0 for an answer of which comes from using from the data or any other answer which finds a doubling time from figures given in the table.
[2 marks]
an attempt to calculate for city X (M1)
OR
A1
this is larger than so the virus spreads more easily in city X R1
Note: It is possible to award M1A0R1.
Condone “so the virus spreads faster in city X” for the final R1.
[3 marks]
A1A1
Note: Award A1A0 if values are correct but not to dp.
[2 marks]
(A1)(A1)
Note: Award A1 for each coefficient seen – not necessarily in the equation. Do not penalize seeing in the context of and .
identifying that the constant is OR that the gradient is (M1)
therefore A1
A1
Note: Accept a value of of from use of sf value of , or any other value from plausible pre-rounding.
Allow follow-through within the question part, from the equation of their line to the final two A1 marks.
[5 marks]
recognizing that their is the eventual number of infected (M1)
A1
Note: Accept any final answer consistent with their answer to part (f)(i) unless their is less than in which case award at most M1A0.
[2 marks]
Examiners report
A significant minority were unable to attempt 1(a) which suggests poor preparation for the use of the GDC in this statistics-heavy course. Large numbers of candidates appeared to use and interchangeably. Accurate use of notation is an important skill which needs to be developed.
1(a)(iii) was a question at the heart of the Applications and interpretations course. In modern statistics many of the calculations are done by a computer so the skill of the modern statistician lies in knowing which tests are appropriate and how to interpret the results. Very few candidates seemed familiar with the assumptions required for the use of the standard test on the correlation coefficient. Indeed, many candidates answered this by claiming that the value was either too large or too small to do a hypothesis test, indicating a major misunderstanding of the purpose of hypothesis tests.
1(b)(i) was done very poorly. It seems that perhaps adding parameters to the equation confused many candidates – if the equation had been many more would have successfully attempted this. However, the presence of parameters is a fundamental part of mathematical modelling so candidates should practise working with expressions involving them.
1(b)(ii) and (iii) were done relatively well, with many candidates using the data to recognize an exponential model was a good idea. Part (iv) was often communicated poorly. Many candidates might have done the right thing in their heads but just writing that the correlation was better did not show which figures were being compared. Many candidates who did write down the numbers made it clear that they were comparing an value with an value.
1(c) was not meant to be such a hard question. There is a standard formula for half-life which candidates were expected to adapt. However, large numbers of candidates conflated the data and the model, finding the time for one of the data points (which did not lie on the model curve) to double. Candidates also thought that the value of t found was equivalent to the doubling time, often giving answers of around 40 days which should have been obviously wrong.
1(d) was quite tough. Several candidates realized that was the required quantity to be compared but very few could calculate for city X using the given information.
1(e) was meant to be relatively straightforward but many candidates were unable to interpret the notation given to do the quite straightforward calculation.
1(f) was meant to be a more unusual problem-solving question getting candidates to think about ways of linearizing a non-linear problem. This proved too much for nearly all candidates.
In this question you will explore possible models for the spread of an infectious disease
An infectious disease has begun spreading in a country. The National Disease Control Centre (NDCC) has compiled the following data after receiving alerts from hospitals.
A graph of against is shown below.
The NDCC want to find a model to predict the total number of people infected, so they can plan for medicine and hospital facilities. After looking at the data, they think an exponential function in the form could be used as a model.
Use your answer to part (a) to predict
The NDCC want to verify the accuracy of these predictions. They decide to perform a goodness of fit test.
The predictions given by the model for the first five days are shown in the table.
In fact, the first day when the total number of people infected is greater than 1000 is day 14, when a total of 1015 people are infected.
Based on this new data, the NDCC decide to try a logistic model in the form .
Use the data from days 1–5, together with day 14, to find the value of
Use an exponential regression to find the value of and of , correct to 4 decimal places.
the number of new people infected on day 6.
the day when the total number of people infected will be greater than 1000.
Use your answer to part (a) to show that the model predicts 16.7 people will be infected on the first day.
Explain why the number of degrees of freedom is 2.
Perform a goodness of fit test at the 5% significance level. You should clearly state your hypotheses, the p-value, and your conclusion.
Give two reasons why the prediction in part (b)(ii) might be lower than 14.
.
.
.
Hence predict the total number of people infected by this disease after several months.
Use the logistic model to find the day when the rate of increase of people infected is greatest.
Markscheme
M1A1A1
[3 marks]
A1
number of new people infected = 247 – 140 = 107 M1A1
[3 marks]
use of graph or table M1
day 9 A1
[2 marks]
9.7782(1.7125)1 M1
= 16.7 people AG
[1 mark]
2 parameters ( and ) were estimated from the data. R1
M1
= 2 AG
[2 marks]
data is modeled by and data is not modeled by A1
p-value = 0.893 A2
Since 0.893 > 0.05 R1
Insufficient evidence to reject . So data is modeled by A1
[5 marks]
vaccine or medicine might slow down rate of infection R1
People become more aware of disease and take precautions to avoid infection R1
Accept other valid reasons
[2 marks]
1060 M1A1
[2 marks]
108 A1
[1 mark]
0.560 A1
[1 mark]
As M1
A1
[2 marks]
sketch of or solve M1
A1
Day 8 A1
[3 marks]
Examiners report
An estate manager is responsible for stocking a small lake with fish. He begins by introducing fish into the lake and monitors their population growth to determine the likely carrying capacity of the lake.
After one year an accurate assessment of the number of fish in the lake is taken and it is found to be .
Let be the number of fish years after the fish have been introduced to the lake.
Initially it is assumed that the rate of increase of will be constant.
When the estate manager again decides to estimate the number of fish in the lake. To do this he first catches fish and marks them, so they can be recognized if caught again. These fish are then released back into the lake. A few days later he catches another fish, releasing each fish after it has been checked, and finds of them are marked.
Let be the number of marked fish caught in the second sample, where is considered to be distributed as . Assume the number of fish in the lake is .
The estate manager decides that he needs bounds for the total number of fish in the lake.
The estate manager feels confident that the proportion of marked fish in the lake will be within standard deviations of the proportion of marked fish in the sample and decides these will form the upper and lower bounds of his estimate.
The estate manager now believes the population of fish will follow the logistic model where is the carrying capacity and .
The estate manager would like to know if the population of fish in the lake will eventually reach .
Use this model to predict the number of fish in the lake when .
Assuming the proportion of marked fish in the second sample is equal to the proportion of marked fish in the lake, show that the estate manager will estimate there are now fish in the lake.
Write down the value of and the value of .
State an assumption that is being made for to be considered as following a binomial distribution.
Show that an estimate for is .
Hence show that the variance of the proportion of marked fish in the sample, , is .
Taking the value for the variance given in (d) (ii) as a good approximation for the true variance, find the upper and lower bounds for the proportion of marked fish in the lake.
Hence find upper and lower bounds for the number of fish in the lake when .
Given this result, comment on the validity of the linear model used in part (a).
Assuming a carrying capacity of use the given values of and to calculate the parameters and .
Use these parameters to calculate the value of predicted by this model.
Comment on the likelihood of the fish population reaching .
Markscheme
* This sample question was produced by experienced DP mathematics senior examiners to aid teachers in preparing for external assessment in the new MAA course. There may be minor differences in formatting compared to formal exam papers.
M1
A1
[2 marks]
M1A1
AG
[2 marks]
A1A1
[2 marks]
Any valid reason for example: R1
Marked fish are randomly distributed, so constant.
Each fish caught is independent of previous fish caught
[1 mark]
M1
A1
AG
[2 marks]
M1A1
AG
[2 marks]
(M1)
and A1
[2 marks]
M1
Lower bound upper bound A1
[2 marks]
Linear model prediction falls outside this range so unlikely to be a good model R1A1
[2 marks]
M1
A1
M1
(M1)
A1
[5 marks]
M1A1
Note: Accept any answer that rounds to .
[2 marks]
This is much higher than the calculated upper bound for so the rate of growth of the fish is unlikely to be sufficient to reach a carrying capacity of . M1R1
[2 marks]
Examiners report
Consider the functions , : defined by
and .
Find .
Find .
State with a reason whether or not and commute.
Find the inverse of .
Markscheme
() (M1)
A1A1
[3 marks]
A1A1
[2 marks]
no because R1
Note: Accept counter example.
[1 mark]
(M1)
(M1)
A1
[3 marks]
Examiners report
A suitable site for the landing of a spacecraft on the planet Mars is identified at a point, . The shortest time from sunrise to sunset at point must be found.
Radians should be used throughout this question. All values given in the question should be treated as exact.
Mars completes a full orbit of the Sun in Martian days, which is one Martian year.
On day , where , the length of time, in hours, from the start of the Martian day until sunrise at point can be modelled by a function, , where
.
The graph of is shown for one Martian year.
Mars completes a full rotation on its axis in hours and minutes.
The time of sunrise on Mars depends on the angle, , at which it tilts towards the Sun. During a Martian year, varies from to radians.
The angle, , through which Mars rotates on its axis from the start of a Martian day to the moment of sunrise, at point , is given by , .
Use your answers to parts (b) and (c) to find
Let be the length of time, in hours, from the start of the Martian day until sunset at point on day . can be modelled by the function
.
The length of time between sunrise and sunset at point , , can be modelled by the function
.
Let and hence .
can be written in the form , where and are complex functions of .
Show that .
Find the angle through which Mars rotates on its axis each hour.
Show that the maximum value of , correct to three significant figures.
Find the minimum value of .
the maximum value of .
the minimum value of .
Hence show that , correct to two significant figures.
Find the value of .
Find the value of .
Write down and in exponential form, with a constant modulus.
Hence or otherwise find an equation for in the form , where .
Find, in hours, the shortest time from sunrise to sunset at point that is predicted by this model.
Markscheme
recognition that period (M1)
OR A1
Note: Award A1 for a correct expression leading to the given value or for a correct value of to 4 sf or greater accuracy.
AG
[2 marks]
length of day hours (A1)
Note: Award A1 for or .
(M1)
Note: Accept .
radians A1
[3 marks]
substitution of either value of into equation (M1)
correct use of arccos to find a value for (M1)
Note: Both (M1) lines may be seen in either part (c)(i) or part (c)(ii).
A1
AG
Note: For substitution of award M0A0.
[3 marks]
A1
[1 mark]
(M1)
A1
Note: Accept from use of .
[2 marks]
A1
Note: Accept and from use of rounded values.
[1 mark]
M1
A1
Note: Award M1 for substituting their values into a correct expression. Award A1 for a correct value of from their expression which has at least 3 significant figures and rounds correctly to .
(correct to sf) AG
[2 marks]
EITHER
(M1)
OR
or
THEN
A1
Note: Accept from use of rounded values. Follow through on their answers to part (d) and .
[2 marks]
(M1)
A1
Note: Follow through for minus their answer to part (f).
[2 marks]
at least one expression in the form (M1)
A1A1
[3 marks]
EITHER
(M1)
(A1)(A1)
OR
graph of or
(A1)
OR (M1)(A1)
Note: The and variables (or equivalent) must be seen.
THEN
A1
Note: Accept equivalent forms, e.g. .
Follow through on their answer to part (g) replacing .
[4 marks]
shortest time between sunrise and sunset
(M1)
hours A1
Note: Accept from use of sf values.
[2 marks]
Examiners report
This question explores methods to determine the area bounded by an unknown curve.
The curve is shown in the graph, for .
The curve passes through the following points.
It is required to find the area bounded by the curve, the -axis, the -axis and the line .
One possible model for the curve is a cubic function.
A second possible model for the curve is an exponential function, , where .
Use the trapezoidal rule to find an estimate for the area.
With reference to the shape of the graph, explain whether your answer to part (a)(i) will be an over-estimate or an underestimate of the area.
Use all the coordinates in the table to find the equation of the least squares cubic regression curve.
Write down the coefficient of determination.
Write down an expression for the area enclosed by the cubic function, the -axis, the -axis and the line .
Find the value of this area.
Show that .
Hence explain how a straight line graph could be drawn using the coordinates in the table.
By finding the equation of a suitable regression line, show that and .
Hence find the area enclosed by the exponential function, the -axis, the -axis and the line .
Markscheme
Area M1A1
Area = 156 units2 A1
[3 marks]
The graph is concave up, R1
so the trapezoidal rule will give an overestimate. A1
[2 marks]
M1A2
[3 marks]
A1
[1 mark]
Area A1A1
[2 marks]
Area = 145 units2 (Condone 143–145 units2, using rounded values.) A2
[2 marks]
M1
A1
AG
[2 marks]
Plot against . R1
[1 mark]
Regression line is M1A1
So gradient = 0.986 R1
M1A1
[5 marks]
Area units2 M1A1
[2 marks]